/* common.css */
.wrapper {
  width: 1240px;
  margin: 0 auto;
}

.shortcut {
  height: 52px;
  background-color: #333;
}

.shortcut .wrapper {
  height: 52px;
}

.shortcut .wrapper ul {
  float: right;
}

.shortcut .wrapper li {
  float: left;
  line-height: 52px;
}

.shortcut .wrapper a {
  padding: 0 16px;
  border-right: 1px solid #666;
  font-size: 14px;
  color: #dcdcdc;
}

.shortcut .wrapper a span {
  /* span 为行内 不能设置宽高 */
  display: inline-block;
  width: 11px;
  height: 16px;
  /* 精灵图设置 URL position */
  background-image: url(../images/sprites.png);
  background-position: -160px -70px;
  /* 图片和文字居中对齐 */
  vertical-align: middle;
  margin-right: 8px;
}

.shortcut .wrapper li:last-child a {
  border: 0;
}

/* 头部 */
.header {
  margin: 30px auto;
  height: 70px;
}

.logo {
  float: left;
  width: 207px;
  height: 70px;
}

.logo h1 {
  width: 207px;
  height: 70px;
}

.logo h1 a {
  display: block;
  width: 207px;
  height: 70px;
  background-image: url(../images/logo.png);
  background-size: contain;
  font-size: 0;
}

.nav {
  float: left;
  margin-left: 40px;
  height: 70px;
}

.nav ul li {
  float: left;
  margin-right: 48px;
  line-height: 70px;
}

.nav ul li a {
  padding-bottom: 7px;
}

.nav ul li a:hover {
  color: #27ba9b;
  border-bottom: 3px solid #27ba9b;
}

.search {
  position: relative;
  float: left;
  margin-top: 24px;
  margin-left: 34px;
  width: 172px;
  height: 30px;
  border-bottom: 2px solid #f2f2f2;
}

.search input {
  padding-left: 30px;
  width: 172px;
  height: 28px;
}

.search input::placeholder {
  font-size: 14px;
  color: #dcdcdc;
}

.search span {
  position: absolute;
  left: 2px;
  top: 0;
  width: 18px;
  height: 18px;
  display: inline-block;
  background-image: url(../images/sprites.png);
  background-position: -79px -69px;
}

.car {
  position: relative;
  float: left;
  margin-left: 15px;
  margin-top: 28px;
  width: 23px;
  height: 23px;
  background-image: url(../images/sprites.png);
  background-position: -119px -69px;
}

.car span {
  /* 子绝父相的子元素 本身就具备行内块元素的特点 */
  position: absolute;
  right: -13px;
  top: -6px;
  width: 20px;
  height: 15px;
  background-color: #e26237;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 15px;
}

/* 版权区域 */
.footer {
  height: 343px;
  background-color: #333;
}

.footer .wrapper {
  width: 1393px;
}

.footer .top {
  padding-top: 59px;
  padding-left: 135px;
  height: 173px;
  border-bottom: 3px solid #434343;
}

.footer .top li {
  position: relative;
  float: left;
  margin-right: 300px;
  width: 195px;
  height: 58px;
}

.footer .top li:last-child {
  margin-right: 0;
}

.footer .top li::before {
  /* 如果含行内块和行内文字无法通过vertical-align或行高对齐，可采用定位来实现 */
  position: absolute;
  left: 0;
  top: -5px;
  content: '';
  width: 58px;
  height: 58px;
  background-image: url(../images/sprites.png);
  /* vertical-align: middle; */
}

.footer .top li span {
  margin-left: 77px;
  font-size: 28px;
  color: #fff3;
}

.footer .top li:nth-child(2)::before {
  background-position: -130px 0;
}

.footer .top li:nth-child(3)::before {
  background-position: -64px 0;
}

.footer .bottom {
  padding-top: 40px;
  font-size: 14px;
  color: #999;
  text-align: center;
}

.footer .bottom a {
  font-size: 14px;
  color: #999;
}

.footer .bottom p {
  margin-bottom: 20px;
}